package org.example.examsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.examsystem.entity.Paper;

import java.util.List;

@Mapper
public interface PaperMapper {
    void deleteByExamId(@Param("examId") int examId);
    void batchDeleteByExamIds(@Param("ids") List<Integer> ids);
    List<Paper> getPaperDetailsByEid(@Param("eid") Integer eid);
    void insertPaper(Paper paper);
}